"use strict";
cc._RF.push(module, 'dd5bbWIlolAaopHZcUZckKf', 'MainPanel');
// Script/View/Main/MainPanel.js

"use strict";

var MainPanel = cc.Class({
    name: 'MainPanel',

    ctor: function ctor() {
        this.viewName = "";
        this.panel = null;
    },

    awake: function awake() {
        console.log("MainPanel");
        this.doudzBtn = this.panel.getChildByName("scrollview").getChildByName("view").getChildByName("content").getChildByName("doudzBtn").getComponent(cc.Button);
        this.doudzBtn.node.on(cc.Node.EventType.TOUCH_END, this.doudzHandler, this);
    },

    doudzHandler: function doudzHandler() {
        ViewMgr.showView(VIEW.LANDLORD);
    }

});

cc._RF.pop();